package com.paic.custserv.web.controller.vo;

import com.paic.custserv.common.Constant;
import com.paic.custserv.domain.Page;
import com.paic.custserv.utils.CommonUtil;

public class CussWorkOrderQueryVO extends Page {

	private static final long serialVersionUID = 4186547840711064064L;
	
	/**
	 * 工单当前处理人UM
	 */
	private String currOperatorUm;
	
	/**
	 * 工单流水号
	 */
	private String serialNumber;
	
	/**
	 * 工单类型
	 */
	private Integer typeId;
	
	/**
	 * 工单状态
	 */
	private Integer workOrderStatus;
	
	/**
	 * 工单创建人
	 */
	private String creator;
	
	/**
	 * 审核经理UM
	 */
	private String approvorUm;
	
	/**
	 * 工单是否需要审核
	 */
	private String isApprove;
	
	/**
	 * 订单号
	 */
	private String orderNum;
	
	/**
	 * 客户账号
	 */
	private String customerName;
	
	/**
	 * 紧急程度
	 */
	private Integer urgentPriority;
	
	/**
	 * 关闭人
	 */
	private String lastUpdatorUm;
	
	/**
	 * 工单创建时间 从
	 */
	private String createTimeFrom;
	
	/**
	 * 工单创建时间 到
	 */
	private String createTimeTo;
	
	/**
	 * 工单流转状态开始时间 从(注：与工单状态组合查询)
	 */
	private String flowTimeFrom;
	
	/**
	 * 工单流转状态结束时间 到(注：与工单状态组合查询)
	 */
	private String flowTimeTo;
	
	/**
	 * 有多个订单状态
	 */
	private Integer[] muchWorkOrderStatus = null;
	
	/**
	 *工单渠道来源
	 */
	private Integer channelSource;
	
	public String getCurrOperatorUm() {
		return currOperatorUm;
	}

	public void setCurrOperatorUm(String currOperatorUm) {
		this.currOperatorUm = CommonUtil.isBlank(currOperatorUm) ? null : currOperatorUm.trim();
	}

	public String getSerialNumber() {
		return serialNumber;
	}

	public void setSerialNumber(String serialNumber) {
		this.serialNumber = CommonUtil.isBlank(serialNumber) ? null : serialNumber.trim().toUpperCase();
	}

	public Integer getTypeId() {
		return typeId;
	}

	public void setTypeId(Integer typeId) {
		this.typeId = CommonUtil.isBlank(typeId) ? null : typeId;
	}

	public Integer getWorkOrderStatus() {
		return workOrderStatus;
	}

	public void setWorkOrderStatus(Integer workOrderStatus) {
		this.workOrderStatus = CommonUtil.isBlank(workOrderStatus) ? null : workOrderStatus;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = CommonUtil.isBlank(creator) ? null : creator.trim();
	}

	public String getApprovorUm() {
		return approvorUm;
	}

	public void setApprovorUm(String approvorUm) {
		this.approvorUm = CommonUtil.isBlank(approvorUm) ? null : approvorUm.trim();
	}

	public String getIsApprove() {
		return isApprove;
	}

	public void setIsApprove(String isApprove) {
		this.isApprove = CommonUtil.isBlank(isApprove) ? null : isApprove.trim();
	}

	public String getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(String orderNum) {
		this.orderNum = CommonUtil.isBlank(orderNum) ? null : orderNum.trim().toUpperCase();
	}

	public String getCustomerName() {
		return customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = CommonUtil.isBlank(customerName) ? null : customerName.trim();
	}

	public Integer getUrgentPriority() {
		return urgentPriority;
	}

	public void setUrgentPriority(Integer urgentPriority) {
		this.urgentPriority = CommonUtil.isBlank(urgentPriority) ? null : urgentPriority;
	}

	public String getLastUpdatorUm() {
		return lastUpdatorUm;
	}

	public void setLastUpdatorUm(String lastUpdatorUm) {
		this.lastUpdatorUm = lastUpdatorUm;
	}

	public String getCreateTimeFrom() {
		return createTimeFrom;
	}

	public void setCreateTimeFrom(String createTimeFrom) {
		this.createTimeFrom = CommonUtil.isBlank(createTimeFrom) ? null : createTimeFrom.trim() + " " + Constant.TIME_ACCURATE_START;
	}

	public String getCreateTimeTo() {
		return createTimeTo;
	}

	public void setCreateTimeTo(String createTimeTo) {
		this.createTimeTo = CommonUtil.isBlank(createTimeTo) ? null : createTimeTo.trim() + " " + Constant.TIME_ACCURATE_END;
	}

	public String getFlowTimeFrom() {
		return flowTimeFrom;
	}

	public void setFlowTimeFrom(String flowTimeFrom) {
		this.flowTimeFrom = CommonUtil.isBlank(flowTimeFrom) ? null : flowTimeFrom.trim() + " " + Constant.TIME_ACCURATE_START;
	}

	public String getFlowTimeTo() {
		return flowTimeTo;
	}

	public void setFlowTimeTo(String flowTimeTo) {
		this.flowTimeTo = CommonUtil.isBlank(flowTimeTo) ? null : flowTimeTo.trim() + " " + Constant.TIME_ACCURATE_END;
	}

	public Integer[] getMuchWorkOrderStatus() {
		return muchWorkOrderStatus;
	}

	public void setMuchWorkOrderStatus(Integer[] muchWorkOrderStatus) {
		this.muchWorkOrderStatus = muchWorkOrderStatus;
	}

	public Integer getChannelSource() {
		return channelSource;
	}

	public void setChannelSource(Integer channelSource) {
		this.channelSource = CommonUtil.isBlank(channelSource) ? null : channelSource;
	}

	
}
